*{
    padding: 0;
    margin: 0;
}
.chat_commento{
     
    width: 95%;
    margin: -22.5%;
    margin-left: 4.8%;
    background-color: rgb(253, 253, 253);
    position: absolute;
    height: 98%;
    border: 2px solid #043d6b; /* 边框样式 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
            0 5px 15px rgba(0, 0, 0, 0.1),
            0 -2px 6px rgba(0, 0, 0, 0.1) inset;
    /*border-radius: 10px;*/
}

.clearfix::after{
    content: "";
    display: block;
    clear: both;
    width: 0;
    height: 0;
    line-height: 0;
    visibility: hidden;
}
/* top */
.chat_top{
    width: 100%;
    height: 6%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: rgba(21, 96, 11, 0.973);
    font-size: 23px;
    line-height: 5px;
    box-sizing: border-box;
    font-weight: 550;
    border-width: 2px;
}
/* middle */
/* 左边 */
.chat_middle{
    width: 100%;
    height: 73%;

    box-sizing: border-box;
    overflow:auto;
    border-width: 0px;
}

    /* 设置滚动条宽度和颜色 */
.chat_middle::-webkit-scrollbar {
    width: 12px;
    background-color: #f5f5f5;
}

/* 设置滚动条轨道背景颜色 */
.chat_middle::-webkit-scrollbar-track {
    background-color: #f5f5f5;
}

/* 设置滚动条 thumb 颜色 */
.chat_middle::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 6px;
    border: 3px solid #f5f5f5; /* 可以创建外边框效果 */
}

/* 悬停时滚动条 thumb 颜色 */
.chat_middle::-webkit-scrollbar-thumb:hover {
    background-color: #999;
}


.chat_left_item_2{
    width: 100%;
    height: 30px;
    float: left;
    margin-top: 15px;
}
.chat_left_time{
    width: 100%;
    height: 100%;
    text-align: left;
}
.chat_left_content{
   
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    position: relative;
    max-width: 100%;
    height: 100%;
    background-color: #f4f5f7;
    display: inline-block;
    white-space: pre-wrap;
    border-top-left-radius: 0px;
    background-color: #25780c;
    color: white;
}

.chat_right_item_2{
    width: 100%;
    height: 30px;
    float: right;
    margin-top: 15px;
}
.chat_right_time{
    width: 100%;
    text-align: right;
}
.chat_right_content{
   
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    position: relative;
    max-width: 100%;
    height: 100%;
    background-color: #f4f5f7;
    display: inline-block;
    white-space: pre-wrap;
    border-top-right-radius: 0px;
    background-color: #14c04a;
    color: white;
}
/* foot */
.chat_foot{
    width: 100%;
    height: 20%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    position: relative;
}
.chat_context{
    width: 100%;
    height: 100%;
    font-size: 17px;
    box-sizing: border-box;
    outline: none;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #1cc45200;
    border-width: 1px;
    padding: 16px;
}
.chat_commit{
    width: 15%;
    height: 25%;
    color: white;
    background-color: #608d11c6;
    line-height: 3px;
    text-align: center;
    border-radius: 10px;
    position: absolute;
    right: 10px;
    bottom: 20px;
    margin-right: 10px;
}
.chat_context{
    resize: none;
}
.chat_context::placeholder{
    color: black;
    font-weight: 500k;
}
.line{
    width: 100%;
    border-top: 1px;
    border-color: #0f5b23d8;
    border-style: solid;
}